cask 'backlog' do
  version '1.8.0'
  sha256 'de3747cee4d6b63ccc102c25ef9ca3ab8f21d78d2fbbc8cf34725035484e1fbd'

  # github.com/czytelny/backlog/ was verified as official when first introduced to the cask
  url "https://github.com/czytelny/backlog/releases/download/v#{version}/Backlog-darwin-x64.zip"
  appcast 'https://github.com/czytelny/backlog/releases.atom'
  name 'Backlog'
  homepage 'http://www.backlog.cloud/'

  app 'Backlog-darwin-x64/Backlog.app'

  zap trash: '~/Library/Application Support/Backlog'
end
